﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Collections;

namespace MainConsole
{
    internal class ConfigInfo
    {
        public ArrayList Objects = new ArrayList();

        public ObjectInfo FindByName(string name)
        {
            foreach (ObjectInfo o in Objects)
            {
                if (o.name == name)
                    return o;
            }

            return null;
        }

    }

    internal class ObjectInfo
    {
        public string name;
        public string assemblyName;
        public string typeName;
        public ArrayList properties = new ArrayList();
    }

    internal class PropertyInfo
    {
        public string propertyName;
        public string assemblyName;
        public string typeName;
    }
}
